import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AccountService } from './account.service';
import { AccountController } from './account.controller';
import { Account } from './account.entity'; // 引入实体

@Module({
  imports: [TypeOrmModule.forFeature([Account])], // 注册实体
  providers: [AccountService],
  controllers: [AccountController],
})
export class AccountModule {}